package org.nanotek.cms.domain.lucene;

import org.apache.lucene.document.Document;
import org.apache.lucene.search.ScoreDoc;
import org.nanotek.Base;

/**
 * The Score Document is the Collection of Documents as well the Collection of Scores that each 
 * document had "scored" based on a SearchPhrase. 
 * @author JoseCanova
 *
 */

@SuppressWarnings("serial")
public class ScoreDocument implements Base<String> {

	private String id; 
	private ScoreDoc scoreDoc; 
	private Document document; 

	@Override
	public String getId() {
		return id;
	}

	public ScoreDoc getScoreDoc() {
		return scoreDoc;
	}

	public void setScoreDoc(ScoreDoc scoreDoc) {
		this.scoreDoc = scoreDoc;
	}

	public Document getDocument() {
		return document;
	}

	public void setDocument(Document document) {
		this.document = document;
	}

	public void setId(String id) {
		this.id = id;
	}

}
